// @ts-nocheck
import React from 'react';
import ReactDOM from 'react-dom/client';

import {Provider} from 'react-redux'
import store from './redux/store'

import App from './App';
import storageUtils from './utils/storageUtils';
import memoryUtils from './utils/memoryUtils';

// 读取local中保存的user， 保存到内存中
const user = storageUtils.getUser ()
memoryUtils.user = user


const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  <Provider store={store}>
    <React.StrictMode>
      <App />
    </React.StrictMode>
  </Provider>
  
);

